package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.entity.ParamHolidays;
import com.hzeport.bgs22emduty.entity.ParamLeader;
import com.hzeport.bgs22emduty.vo.ParamLeader.ParamLeaderListVO;
import com.hzeport.bgs22emduty.vo.ParamLeader.ParamLeaderSaveVO;
import com.hzeport.bgs22emduty.vo.ParamLeader.ParamLeaderdetailVO;
import com.hzeport.bgs22emduty.vo.base.PageVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;

public interface ParamLeaderService extends BaseService<ParamLeader> {

    BaseResult<Page<ParamLeaderListVO>> list(PageVO pageVO, UserInfoDetailVO userInfo);

    BaseResult<ParamLeaderdetailVO> detail(String id);

    BaseResult saveData(ParamLeaderSaveVO paramHolidaysSaveVO, UserInfoDetailVO userInfo) throws Exception;
}
